package com.namecard.namecardapi.entity.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author wzx
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class EmailVO {
    /**
     * 邮件主题
     */
    private String title;

    /**
     * 主题的编码格式
     */
    private String titleEncoder;

    /**
     * 邮件正文
     */
    private String text;

    /**
     * 正文的编码格式
     */
    private String textEncoder;

    /**
     * 附件的名字
     */
    private String attachName;

    /**
     * 附件的本地路径
     */
    private String attachUrl;

    public EmailVO(String title, String titleEncoder, String text, String textEncoder) {
        this.title = title;
        this.titleEncoder = titleEncoder;
        this.text = text;
        this.textEncoder = textEncoder;
    }
}
